/**
 * @projectName 高校就业网
 * @package com.kzj.CollegeEmploymentNetwork.model
 * @className com.kzj.CollegeEmploymentNetwork.model.ArticleContent
 * @copyright Copyright 2025 Thunisoft, Inc. All rights reserved.
 */
package com.kzj.CollegeEmploymentNetwork.model;

import javax.persistence.Column;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import com.kzj.CollegeEmploymentNetwork.common.BaseEntity;
import javax.validation.constraints.Size;
import com.kzj.CollegeEmploymentNetwork.validate.Validate;


/**
 * ArticleContent
 *
 * @description 文章内容表实体
 * @author kzj
 * @date 2025年01月20日 23:11:54
 * @version 1.0.0
 **/
@ApiModel("文章内容表")
@Table(name="db_recruit.t_article_content")    
@Getter
@Setter
@ToString
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class ArticleContent extends BaseEntity{
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * 外键：文章
     */
    @ApiModelProperty("外键：文章")
    @Column(name = "c_bh_article", columnDefinition = "varchar(32)")
    @Size(max = 32, groups = {Validate.class}, message = "外键：文章的最大长度为32")
    private String bhArticle;

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    @Column(name = "lc_content", columnDefinition = "text")
    private String content;

}